package com.example.high_slope_electronic_sand_table.environment.Enum;

/**
 * 环境监测-风速告警等级
 */
public enum SpeedWarningEnum {
    WARNING_ONE(1,32.7f),
    WARNING_TWO(2,24.5f),
    WARNING_THREE(3,17.2f),
    WARNING_FOUR(4,10.8f);

    private Integer warningLevel; // 告警等级
    private Float value; // 值

    private SpeedWarningEnum(int warningLevel, float value) {
        this.warningLevel = warningLevel;
        this.value = value;
    }

    public Integer getWarningLevel() {
        return warningLevel;
    }

    public Float getValue() {
        return value;
    }
}
